<?php

namespace maotool\core\lang;

class HttpStatusCode
{

    const OK = [
        "code" => 200,
        "name" => "OK",
        "description" => "请求成功"
    ];

    const INTERNAL_SERVER_ERROR = [
        "code" => 500,
        "name" => "Internal Server Error",
        "description" => "服务器内部错误，无法完成请求"
    ];

    const NOT_FOUND = [
        "code" => 404,
        "name" => "Not Found",
        "description" => "服务器无法根据客户端的请求找到资源"
    ];

    const FOUND = [
        "code" => 302,
        "name" => "Found",
        "description" => "临时移动。与301类似。但资源只是临时被移动。客户端应继续使用原有URI"
    ];

}